home *** CD-ROM | disk | FTP | other *** search
- Path: pop.gnn.com!DWilkes
- From: DWilkes@gnn.com (Dave wilkes)
- Newsgroups: comp.lang.c++
- Subject: I need help in extracting the path....
- Date: Wed, 10 Apr 1996 19:30:38
- Organization: GNN
- Message-ID: <4khuf5$n60@news-e2c.gnn.com>
- NNTP-Posting-Host: www-23-87.gnn.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- X-GNN-NewsServer-Posting-Date: 11 Apr 1996 03:31:49 GMT
- X-Mailer: GNNmessenger 1.2
-
- In C how do you extract the path from the command line vairable char* argv[]?
- I want to remove the program name from the command line argument and use just
- the path.
- i.e. argv[] =ôc:\dir\dir...\prog.exeö
- The length of the path will be unknown till run time.
- Thank you in advance for any replies.
-
- I want to start procrastinating, but I keep putting it off.
-
-